package org.dormi.learn.promotion.api;

import org.dormi.learn.promotion.model.Order;
import org.dormi.learn.promotion.model.Promotion;
import org.dormi.learn.promotion.model.PromotionResult;

import java.util.List;

/**
 * add description here
 *
 * @author : dormi330
 * @version : 1.0
 */
public interface PromotionService {

    PromotionResult apply(Order order, Promotion promotion, List<PromotionResult> pre);
}
